Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / app / src / main / java / com / geeksville / mesh / analytics / AnalyticsClient.kt

Displaying Raw • Download

app/src/main/java/com/geeksville/mesh/analytics/AnalyticsClient.kt ui_message_list (be3f882f) Text, 1.48 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787com.geeksville.mesh.analytics

T8b949e/**
* Created by kevinh on 12/24/14.
*/
Tff7b72interface T56d364AnalyticsProvider Tb4b4b4{

T8b949e// Turn analytics logging on/off
Tff7b72fun Td2a8ffsetEnabledTb4b4b4(Te6edf3onTb4b4b4: Tffa657BooleanTb4b4b4)

T8b949e/**
* Store an event
*/
Tff7b72fun Td2a8fftrackTb4b4b4(Te6edf3eventTb4b4b4: Tffa657StringTb4b4b4, Tff7b72vararg Te6edf3propertiesTb4b4b4: Te6edf3DataPairTb4b4b4)

T8b949e/**
* Only track this event if using a cheap provider (like google)
*/
Tff7b72fun Td2a8fftrackLowValueTb4b4b4(Te6edf3eventTb4b4b4: Tffa657StringTb4b4b4, Tff7b72vararg Te6edf3propertiesTb4b4b4: Te6edf3DataPairTb4b4b4)

Tff7b72fun Td2a8ffendSessionTb4b4b4(Tb4b4b4)
Tff7b72fun Td2a8ffstartSessionTb4b4b4(Tb4b4b4)

T8b949e/**
* Set persistent ID info about this user, as a key value pair
*/
Tff7b72fun Td2a8ffsetUserInfoTb4b4b4(Tff7b72vararg Te6edf3pTb4b4b4: Te6edf3DataPairTb4b4b4)

T8b949e/**
* Increment some sort of analytics counter
*/
Tff7b72fun Td2a8ffincrementTb4b4b4(Te6edf3nameTb4b4b4: Tffa657StringTb4b4b4, Te6edf3amountTb4b4b4: Tffa657Double Tff7b72= T79c0ff1.0Tb4b4b4)

Tff7b72fun Td2a8ffsendScreenViewTb4b4b4(Te6edf3nameTb4b4b4: Tffa657StringTb4b4b4)
Tff7b72fun Td2a8ffendScreenViewTb4b4b4(Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.07s